import Main from "@/components/Main";
import Parking from "@/views/ParkingManage/ParkingLot/ParkingLot";
import Park from "@/views/ParkingManage/ParkingSpace/ParkingSpace";

export default [{
    path: '/parkingManage',
    name: 'parkingManage',
    component: Main,
    redirect: "/parkingLot",
    children: [
        {
            path: '/parkingLot',
            name: 'parkingLot',
            component: Parking,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "停车场信息1", // tag标题
            }
        },
        {
            path: '/parkingSpace',
            name: 'parkingSpace',
            component: Park,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "车位信息", // tag标题
            }
        },
    ]
}];